package org.jeecg.modules.arc.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.jeecg.common.aspect.annotation.Dict;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;

/**
 * @Description: 换表记录
 * @Author: jeecg-boot
 * @Date:   2022-02-10
 * @Version: V1.0
 */
@Data
@TableName("mws_t_arc_meter_replaces")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="mws_t_arc_meter_replaces对象", description="换表记录")
public class ArcMeterReplaces implements Serializable {
    private static final long serialVersionUID = 1L;

	/**ID*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "ID")
    private java.lang.String id;
	/**户号*/
//	@Excel(name = "户号", width = 15, dictTable = "mws_t_arc_customers", dicText = "code", dicCode = "id")
//	@Dict(dictTable = "mws_t_arc_customers", dicText = "code", dicCode = "id")
    @ApiModelProperty(value = "户号")
    private java.lang.String customerId;
	/**户名*/
	@Excel(name = "户名", width = 15)
    @ApiModelProperty(value = "户名")
    private java.lang.String cusName;
	/**旧表#*/
	@Excel(name = "旧表#", width = 15)
    @ApiModelProperty(value = "旧表#")
    private java.lang.String oldId;
	/**新表#*/
	@Excel(name = "新表#", width = 15)
    @ApiModelProperty(value = "新表#")
    private java.lang.String newId;
	/**请求者*/
	@Excel(name = "请求者", width = 15)
    @ApiModelProperty(value = "请求者")
    private java.lang.String requestor;
	/**旧表起度*/
	@Excel(name = "旧表起度", width = 15)
    @ApiModelProperty(value = "旧表起度")
    private java.math.BigDecimal oldBeginScale;
	/**旧表止度*/
	@Excel(name = "旧表止度", width = 15)
    @ApiModelProperty(value = "旧表止度")
    private java.math.BigDecimal oldEndScale;
	/**换表水量*/
	@Excel(name = "换表水量", width = 15)
    @ApiModelProperty(value = "换表水量")
    private java.math.BigDecimal oldAmount;
    /**新表起度*/
    @Excel(name = "新表起度", width = 15)
    @ApiModelProperty(value = "新表起度")
    private java.math.BigDecimal newBeginScale;
	/**换表原因*/
	@Excel(name = "换表原因", width = 15, dicCode = "water_replaces_cause")
	@Dict(dicCode = "water_replaces_cause")
    @ApiModelProperty(value = "换表原因")
    private java.lang.String waterReplacesCause;
	/**换表员*/
	@Excel(name = "换表员", width = 15)
    @ApiModelProperty(value = "换表员")
    private java.lang.String replacerId;
	/**换表时间*/
	@Excel(name = "换表时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "换表时间")
    private java.util.Date replacedTime;
	/**操作员*/
	@Excel(name = "操作员", width = 15)
    @ApiModelProperty(value = "操作员")
    private java.lang.String operatorId;
	/**操作日期*/
	@Excel(name = "操作日期", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "操作日期")
    private java.util.Date operatedTime;
	/**计算方式*/
	@Excel(name = "计算方式", width = 15, dicCode = "water_compute_type")
	@Dict(dicCode = "water_compute_type")
    @ApiModelProperty(value = "计算方式")
    private java.lang.String waterComputeType;
	/**是否计算*/
	@Excel(name = "是否计算", width = 15, dicCode = "yn")
	@Dict(dicCode = "yn")
    @ApiModelProperty(value = "是否计算")
    private java.lang.Integer isCalculated;
	/**备注*/
	@Excel(name = "备注", width = 15)
    @ApiModelProperty(value = "备注")
    private java.lang.String remark;
	/**部门编码*/
    @ApiModelProperty(value = "部门编码")
    private java.lang.String sysOrgCode;
	/**是否删除*/
	@Excel(name = "是否删除", width = 15)
    @ApiModelProperty(value = "是否删除")
    private java.lang.Integer delFlag;
	/**租户网点*/
	@Excel(name = "租户网点", width = 15)
    @ApiModelProperty(value = "租户网点")
    private java.lang.Integer tenantId;
}
